﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace TestCrypto.ConfigSection
{
    public class LottomaticaSection : BetPointLib.Infrastructure.Configurations.Core.BetPointConfigurationSection<LottomaticaSection>
    {
        [ConfigurationProperty("idRivenditore", IsRequired = false)]
        public string IdRivenditore
        {
            get { return (string)this["idRivenditore"]; }
            set { this["idRivenditore"] = value; }
        }

        [ConfigurationProperty("codiceConcessione", IsRequired = false)]
        public int CodiceConcessione
        {
            get { return (int)this["codiceConcessione"]; }
            set { this["codiceConcessione"] = value; }
        }

        [ConfigurationProperty("codiceRete", IsRequired = false)]
        public int CodiceRete
        {
            get { return (int)this["codiceRete"]; }
            set { this["codiceRete"] = value; }
        }

        // Create a "font" element.
        [ConfigurationProperty("grattaEVinci")]
        public GrattaEVinciElement GrattaEVinci
        {
            get { return (GrattaEVinciElement)this["grattaEVinci"]; }
            set { this["grattaEVinci"] = value; } 
        }

        // Create a "color element."
        [ConfigurationProperty("giocoDelLotto")]
        public GiocoDelLottoElement GiocoDelLotto
        {
            get { return (GiocoDelLottoElement)this["giocoDelLotto"]; }
            set { this["giocoDelLotto"] = value; }
        }
    }
}
